package ${basePackage}.application.${module}.dto;

import com.lap.framework.common.dto.AbstractDto;
import io.swagger.v3.oas.annotations.media.Schema;

import java.time.LocalDate;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "${tableComment}数据传输")
public class ${className}Dto extends AbstractDto {
<#if fields??>
  <#assign validFields = fields?filter(field -> !field.ignoreEntity)>
  <#list validFields as field>

  @Schema(description = "${field.comment!''}")
  private ${field.javaType} ${field.fieldName};
  </#list>
</#if>
}
